package commands;

import storage.Task;
import storage.TaskMemoryController;

public class View {

	public String getTask(int id) {
		Task task = TaskMemoryController.getTaskById(id);
		return ("Title: " + task.getTitle()) + "\n"
				+ ("Deadline: " + task.getDeadline()) + "\n"
				+ ("Status: " + task.getStatus()) + "\n"
				+ ("Priority: " + task.getPriority());
	}

}
